package com.ttsx.core.common.enums;

import lombok.Getter;

/**
 * 支付状态
 * @author wb
 * @since 2025-03-04
 */

@Getter
public enum PayStatusEnum {

    UNKNOWN(-1, "未知"),
    UNPAID(0, "未支付"),
    PAID(1, "已支付"),
    FAILED(2, "支付失败"),
    REFUNDED(3, "已退款");

    private final Integer code;
    private final String desc;

    PayStatusEnum(Integer code, String desc){
        this.code = code;
        this.desc = desc;
    }
}
